package com.rgp.apipassenger.feign;

import com.rgp.internalcommon.dto.ForecastPriceDto;
import com.rgp.internalcommon.dto.ResponseResult;
import com.rgp.internalcommon.response.ForecastPriceResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author nhp
 * @version 1.0
 * @description TODO
 * @date 2024-04-14 0:59
 */
@FeignClient("service-price")
public interface ServicePriceClient {

    @PostMapping("/forecast-price")
    public ResponseResult forecastPrice(@RequestBody ForecastPriceDto forecastPriceDto);
}